package com.inxedu.os.edu.service.main.impl;

import com.inxedu.os.edu.dao.SysFunctionMapper;
import com.inxedu.os.edu.pojo.SysFunction;
import com.inxedu.os.edu.service.main.SysFunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysFunctionServiceImpl implements SysFunctionService {

    @Autowired
    private SysFunctionMapper sysFunctionMapper;

    @Override
    public List<SysFunction> querySysUserFunction(int userId) {

        return  sysFunctionMapper.querySysUserFunction(userId);
    }
}
